package idao.support;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * When IDAO is used with some DI containers, spring for example,
 * Beans annotated by this annotation is the target for IDAO to process.
 * Should be used on interface only.
 * 
 * @author huhao
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Dao
{
    // no content, just a marker
}
